(ns first-clojure.db.redis
  (:require [taoensso.carmine :as car :refer (wcar)]))

(def server1-conn {:pool {} :spec {:host "182.61.51.177"
                                   :port 16384
                                   :password "redisPW"
                                   :timeout-ms 3000
                                   :db 0}})

(defmacro wcar* [& body] `(car/wcar server1-conn ~@body))
